package net.wanho.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.Date;

/**
 * Author：汤小洋
 * Date：2023-07-19 13:39
 * Description：<描述>
 */
@Configuration
public class SpringConfig {

    /**
     * <bean id="date" class="java.util.Date"/>
     * @return
     */
    @Bean
    public Date date() {
        return new Date();
    }

}
